package com.wn.inventory.mapper;

import com.wn.entity.BorrowWarehouseApplication;
import com.wn.entity.ScrapApplication;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/22 14:37
 * @ description：
 * @ modified By：
 * @ version:
 */
@Repository
public interface ScrapApplicationMapper {
    /**
     * @param scrapApplication
     * @return void
     * @ author nst
     * @ date 2022/10/22 14:06
     * @ Description 增加报废申请信息
     */
    void insert(ScrapApplication scrapApplication);
    /**
     * @param scrapApplication
     * @return java.util.List<com.wn.entity.ScrapApplication>
     * @ author nst
     * @ date 2022/10/22 14:07
     * @ Description 多条件查询报废申请信息
     */
    List<ScrapApplication> getByCondition(ScrapApplication scrapApplication);
}
